﻿using System;
using System.Collections.Generic;
using System.Web;
using DAO;

namespace BUS
{
    public class DiaDiemDealBUS
    {
        private DiaDiemDealDAO _dDAO;

        public DiaDiemDealBUS()
        {
            _dDAO = new DiaDiemDealDAO();
        }

        public bool Them(DIADIEMDEAL _DIADIEMDEAL)
        {
            return _dDAO.Them(_DIADIEMDEAL);
        }
        public bool Xoa(DIADIEMDEAL _DIADIEMDEAL)
        {
            return _dDAO.Xoa(_DIADIEMDEAL);
        }
        public bool Sua(DIADIEMDEAL _DIADIEMDEAL)
        {
            return _dDAO.Sua(_DIADIEMDEAL);
        }
        public DIADIEMDEAL TimTen(String _name)
        {
            return _dDAO.TimTen(_name);
        }
        public DIADIEMDEAL ChiTiet(String _id)
        {
            return _dDAO.LayID(_id);
        }
        public List<DIADIEMDEAL> LietKe()
        {
            return _dDAO.LietKe();
        }     
    }
}


